<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>报告管理</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <!-- Morris -->
    <link href="css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">
    <!-- Gritter -->
    <link href="js/plugins/gritter/jquery.gritter.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/global.css" rel="stylesheet">
    <style>
        .biologicaCalendar {
            position: absolute;
            left: 1.3rem;
            top: 0.1rem;
            color: #999;
        }
    </style>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="floatClear tableToPBpx" style="background: transparent">
        <div class="tableToPImgBox floatLeft" style="width: 10.11rem">
            <img class=" tableToPImg" src="img/siteVerificationBg.png" alt="">
            <div class="tableToPTitle">报告管理</div>
        </div>
        <div class="runSampleNumBox floatRight" style="width: 4.54rem;">
            <img src="img/home/runSampleBg.png" class="runSampleBg" alt="">
            <img src="img/home/runSampleImg.png" class="runSampleImg" alt="">
            <div class="runSampleNumContent">
                <div class="runSampleNum">150000</div>
                <div class="runSampleNumText">待出报告统计</div>
            </div>
        </div>
    </div>
    <div class="ibox float-e-margins">
        <div class="ibox-content">
            <div class="floatClear iboxHeader">
                <div class="iboxheaderTab on">
                    待出报告
                </div>
                <div class="iboxheaderTab">
                    已出报告
                </div>
                <div class="floatRight tabHeaderBtnOne floatClear" style="height: .4rem;">
                    <div class="iboxheaderBtn2 floatRight">
                        <img src="img/report.png" alt="">
                        出报告
                    </div>
                </div>
                <div class="floatRight tabHeaderBtnTwo floatClear" style="height: .4rem;display: none;">
                    <div class="iboxheaderBtn2 floatRight" style="margin-left: .62rem;">
                        <img src="img/inport.png" alt="">
                        批量下载
                    </div>
                    <div class="iboxheaderBtn2 floatRight"><img src="img/search.png" alt="">搜索</div>
                    <div class="iboxHeaderSearchBox floatRight margin_left">
                        <select class="iboxSelect" name="" id="">
                            <option value="">身份证号</option>
                        </select>
                        <div class="iboxBorder"></div>
                        <input class="iboxInput" type="text">
                    </div>
                    <div class="floatRight" style="line-height: .4rem;color: #000;margin-right: .31rem;">
                        收样日期
                        <div class="iboxHeaderDate floatRight" style="margin-left: .1rem">
                            <input placeholder="选择时间" class="iboxInput" type="text" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                            <i class="fa fa-calendar biologicaCalendar"></i>
                        </div>
                    </div>
                </div>
            </div>
            <div class="tabContent on">
                <div class="table-responsive">
                    <table class="table table-striped">
                        <thead>
                        <tr>
                            <th><input type="checkbox" class="i-checks oneAll" name="input[]"></th>
                            <th>样本批次号</th>
                            <th>ON号</th>
                            <th>NB号</th>
                            <th>姓名</th>
                            <th>性别</th>
                            <th>身份证号</th>
                            <th>分析时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>
                                <input type="checkbox" class="i-checks oneCheck" name="input[]">
                            </td>
                            <td>ON180138939</td>
                            <td>ON180138939</td>
                            <td>ON180138939</td>
                            <td>王芳芳</td>
                            <td>女</td>
                            <td>14015478463215</td>
                            <td>2019/02/48 20:12:59</td>
                            <td style="text-align: center;">
                                <a href="reportManagePreview.html">
                                    <div class="detailBtn"><img src="img/previewBlue.png" alt="">预览</div>
                                </a>
                                <div class="detailBtn" style="width:1rem;"><img src="img/reportBlue.png" alt="">出报告</div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="iBoxPagingBox">
                    <div class="iBoxPagingItem"><</div>
                    <div class="iBoxPagingItem on">1</div>
                    <div class="iBoxPagingItem">2</div>
                    <div class="iBoxPagingItem">3</div>
                    <div class="iBoxPagingItem">4</div>
                    <div class="iBoxPagingItem">5</div>
                    <div class="iBoxPagingItem">></div>
                </div>
            </div>
            <div class="tabContent">
                <div class="table-responsive">
                    <table class="table table-striped">
                        <thead>
                        <tr>
                            <th><input type="checkbox" class="i-checks twoAll" name="input[]"></th>
                            <th>样本批次号</th>
                            <th>ON号</th>
                            <th>NB号</th>
                            <th>姓名</th>
                            <th>性别</th>
                            <th>身份证号</th>
                            <th>分析时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>
                                <input type="checkbox" class="i-checks twoCheck" name="input[]">
                            </td>
                            <td>ON180138939</td>
                            <td>ON180138939</td>
                            <td>ON180138939</td>
                            <td>王芳芳</td>
                            <td>女</td>
                            <td>14015478463215</td>
                            <td>2019/02/48 20:12:59</td>
                            <td style="text-align: center;">
                                <a href="reportManageDetail.html">
                                    <div class="detailBtn"><img src="img/previewBlue.png" alt="">查看报告</div>
                                </a>
                                <div class="detailBtn"><img src="img/importBlue.png" alt="">下载</div>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="iBoxPagingBox">
                    <div class="iBoxPagingItem"><</div>
                    <div class="iBoxPagingItem on">1</div>
                    <div class="iBoxPagingItem">2</div>
                    <div class="iBoxPagingItem">3</div>
                    <div class="iBoxPagingItem">4</div>
                    <div class="iBoxPagingItem">5</div>
                    <div class="iBoxPagingItem">></div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<!-- iCheck -->
<script src="js/plugins/iCheck/icheck.min.js"></script>
<script src="js/global.js?v=3.3.6"></script>
<!-- layerDate plugin javascript -->
<script src="js/plugins/layer/laydate/laydate.js"></script>
<script>
    $(document).ready(function () {
        $('.i-checks').iCheck({
            checkboxClass: 'icheckbox_square-green',
            radioClass: 'iradio_square-green'
        });
        // 全选功能
        var oneCheckAll = $('input.oneAll');
        var oneCheckboxes = $('input.oneCheck');
        oneCheckAll.on('ifChecked ifUnchecked',function(event){
            if(event.type == 'ifChecked'){
                oneCheckboxes.iCheck('check');
            }else{
                oneCheckboxes.iCheck('uncheck');
            }
        });
        oneCheckboxes.on('ifChanged',function(event){
            if(oneCheckboxes.filter(':checked').length == oneCheckboxes.length){
                oneCheckAll.prop('checked',true);
            }else{
                oneCheckAll.prop('checked',false);
            }
            oneCheckAll.iCheck('update');
        });
        var twoCheckAll = $('input.twoAll');
        var twoCheckboxes = $('input.twoCheck');
        twoCheckAll.on('ifChecked ifUnchecked',function(event){
            if(event.type == 'ifChecked'){
                twoCheckboxes.iCheck('check');
            }else{
                twoCheckboxes.iCheck('uncheck');
            }
        });
        twoCheckboxes.on('ifChanged',function(event){
            if(twoCheckboxes.filter(':checked').length == twoCheckboxes.length){
                twoCheckAll.prop('checked',true);
            }else{
                twoCheckAll.prop('checked',false);
            }
            twoCheckAll.iCheck('update');
        });
//        tab切换事件
        $(".iboxheaderTab").click(function () {
            $(".iboxheaderTab").removeClass("on");
            $(this).addClass("on");
            $(".tabContent").removeClass("on").eq($(this).index()).addClass("on");
            if ($(this).index()) {
                $(".tabHeaderBtnOne").hide();
                $(".tabHeaderBtnTwo").show();
            } else {
                $(".tabHeaderBtnOne").show();
                $(".tabHeaderBtnTwo").hide();
            }

        });
    });
</script>
</body>
</html>
